package com.project.bean;

import java.util.List;

/**
 * 门店实体类
 */
public class StoreBean {
    /**门店ID*/
    private int id;
    /**门店名称*/
    private String name;
    /**门店营业执照编号*/
    private String license;
    /**门店营业执照图片*/
    private String img;
    /**门店地址*/
    private String address;
    /**门店所属城市*/
    private String city;
    /**门店电话*/
    private String tel;
    /**门店状态*/
    private String state="未审核";
    /**门店法人*/
    private String legalMan;
    /**门店备注*/
    private String content;
    /**门店管理员*/
    private ManagerBean storeManager;

    public StoreBean() {
    }

    public StoreBean(String name, String license, String img, String address, String city, String tel, String legalMan,int storeManagerId) {
        this.name = name;
        this.license = license;
        this.img = img;
        this.address = address;
        this.city = city;
        this.tel = tel;
        this.legalMan = legalMan;
        this.storeManager = new ManagerBean();
        this.storeManager.setId(storeManagerId);
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getLegalMan() {
        return legalMan;
    }

    public void setLegalMan(String legalMan) {
        this.legalMan = legalMan;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public ManagerBean getStoreManager() {
        return storeManager;
    }

    public void setStoreManager(ManagerBean storeManager) {
        this.storeManager = storeManager;
    }

    @Override
    public String toString() {
        return "StoreBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", license='" + license + '\'' +
                ", img='" + img + '\'' +
                ", address='" + address + '\'' +
                ", city='" + city + '\'' +
                ", tel='" + tel + '\'' +
                ", state='" + state + '\'' +
                ", legalMan='" + legalMan + '\'' +
                ", content='" + content + '\'' +
                ", storeManager=" + storeManager +
                '}'+"\n";
    }
}
